﻿using System;
using System.Collections.Generic;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Runtime.Serialization;

namespace MOTA_WP
{
    
    public class ResonseClasses
    {
        
    }

    [DataContract]
    public class WeatherClass
    {

        public WeatherClass() { }

        [DataMember]
        public string station { get; set; }
        [DataMember]
        public string station_en { get; set; }
        [DataMember]
        public string observation_time { get; set; }
        [DataMember]
        public string wind_dir { get; set; }
        [DataMember]
        public string wind_dir_E { get; set; }
        [DataMember]
        public string wind { get; set; }
        [DataMember]
        public string wind_gust { get; set; }
        [DataMember]
        public string visibility { get; set; }
        [DataMember]
        public string temperature { get; set; }
        [DataMember]
        public string humidity { get; set; }
        [DataMember]
        public string pressure { get; set; }
        [DataMember]
        public string weather { get; set; }
        [DataMember]
        public string weather_E { get; set; }
        [DataMember]
        public string weather_icon { get; set; }
        [DataMember]
        public string accumulated_prec { get; set; }
        [DataMember]
        public string accumulated_prec_E { get; set; }
    }

    [DataContract]
    public class ParkingClass
    {
        [DataMember]
        public int available { get; set; }
        [DataMember]
        public string id { get; set; }
        [DataMember]
        public string area { get; set; }
        [DataMember]
        public string name { get; set; }
        [DataMember]
        public string summary { get; set; }
        [DataMember]
        public string address { get; set; }
        [DataMember]
        public string tel { get; set; }
        [DataMember]
        public string payex { get; set; }
        [DataMember]
        public int totalCar { get; set; }
        [DataMember]
        public double lon { get; set; }
        [DataMember]
        public double lat { get; set; }
        [DataMember]
        public string startService { get; set; }
        [DataMember]
        public string endService { get; set; }
        [DataMember]
        public double dist { get; set; }

    }
        

}
